home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>6.18.  Stroke Path</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-imagewindow-menus-edit.html" title="6.  The “Edit” Menu" />
- <link rel="prev" href="gimp-selection-stroke.html" title="6.17.  Stroke Selection" />
- <link rel="next" href="gimp-imagewindow-menus-select.html" title="7.  The “Select” Menu" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">6.18. 
- <span lang="en" xml:lang="en">Stroke Path</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-selection-stroke.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">6. 
- <span lang="en" xml:lang="en">The “<span class="quote">Edit</span>” Menu</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="gimp-imagewindow-menus-select.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="gimp-path-stroke"></a>6.18. 
- <span lang="en" xml:lang="en">Stroke Path</span>
- </h3>
- </div>
- <div>
- <div class="revhistory">
- <table border="1" width="100%" summary="Revision history">
- <tr>
- <th align="left" valign="top" colspan="3">
- <b>Revision History</b>
- </th>
- </tr>
- <tr>
- <td align="left">Revision $Revision: 2419 $</td>
- <td align="left">2006-07-27</td>
- <td align="left">sally</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2686305" class="indexterm"></a>
- <a id="id2686318" class="indexterm"></a>
- <p>
- The <span class="guimenuitem">Stroke Path</span> command strokes a path in
- the image. There are two ways you can stroke the path, either by using
- a paint tool, or without using one. There are various options which you
- can use to specify how this stroke should look.
- </p>
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
- <table border="0" summary="Note">
- <tr>
- <td rowspan="2" align="center" valign="top" width="25">
- <img alt="[Note]" src="../images/note.png" />
- </td>
- <th align="left">Note</th>
- </tr>
- <tr>
- <td align="left" valign="top">
- <p>
- This command is active only if there is a path in your image.
- </p>
- </td>
- </tr>
- </table>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2686354"></a>6.18.1. 
- <span lang="en" xml:lang="en">Activating the Command</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- You can access this command from the image menubar through
- <span class="guimenu"><span class="accel">E</span>dit</span> ‚Üí <span class="guimenuitem">Stro<span class="accel">k</span>e Path</span>.
- </p>
- </li>
- <li>
- <p>
- You can also access it by clicking on the button with the same name
- in the <a class="link" href="gimp-path-dialog.html" title="2.3.  Path Dialog">Path dialog</a>.
- </p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2686420"></a>6.18.2. 
- <span lang="en" xml:lang="en">Description of the Dialog Window</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2686431"></a>
- <p class="title">
- <b>Figure 15.39. 
- <span lang="en" xml:lang="en">
- The “<span class="quote">Choose Stroke Style</span>” dialog window
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/menus/edit-stroke-options.png" alt="The Choose Stroke Style dialog window" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <p>
- The <span class="guilabel">Choose Stroke Style</span> dialog box allows you to
- choose between stroking the path with the options you specify or
- stroking it with a paint tool. If you stroke the path with a paint
- tool, the current paint tool options are used to draw the stroke.
- </p>
- <div class="variablelist">
- <p class="title">
- <b>
- <span lang="en" xml:lang="en">Stroke line</span>
- </b>
- </p>
- <p>
- The stroke is drawn with the current foreground color,
- set in the Toolbox. By clicking on the triangle next to
- <span class="guilabel">Line Style</span> however, the dialog expands
- and you can set several additional options:
- </p>
- <dl>
- <dt>
- <span class="term">Line Width</span>
- </dt>
- <dd>
- <p>
- You can set the width of the stroke using the text box.
- The default unit is pixels, but you can choose another
- unit with the drop-down list button.
- </p>
- </dd>
- <dt>
- <span class="term">Solid color / Pattern</span>
- </dt>
- <dd>
- <p>
- You can choose whether the line is drawn in the
- <span class="emphasis"><em>Solid</em></span> or the
- <span class="emphasis"><em>Pattern</em></span>
- style. Here, Solid and Pattern are distinct from the dash
- pattern. If you select a Solid line with no dash pattern, an
- unbroken line is drawn in the foreground color set in the
- Toolbox. If you select a Patterned line with no dash
- pattern, an unbroken line is drawn with the pattern set in
- the Toolbox. If you select a line with a dash pattern, the
- color or pattern is still determined by the foreground color
- or pattern set in the Toolbox. That is, if you select a
- marbled pattern and Patterned, dashed lines, the dashes are
- drawn in the marbled pattern
- </p>
- </dd>
- <dt>
- <span class="term">Line Style</span>
- </dt>
- <dd>
- <p>
- This drop-list brings some detailed options :
- </p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- <span class="guilabel">Cap Style</span> : You can choose the shape of
- the ends of an unclosed path, which can be
- <span class="emphasis"><em>Butt</em></span>, <span class="emphasis"><em>Round</em></span>
- or <span class="emphasis"><em>Square</em></span>.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Join Style</span> :
- You can choose the shape of the path corners by
- clicking on <span class="emphasis"><em>Miter</em></span>,
- <span class="emphasis"><em>Round</em></span>
- or <span class="emphasis"><em>Bevel</em></span>.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Miter limit</span> :
- When two segments of a path come together, the mitering of
- the corner is determined by the Miter Limit. If the strokes
- were wide, and no mitering were done, there would be pointed
- ends sticking out at the corner. The Miter Limit setting
- determines how the gap, formed when the outer edges of the
- two lines are extended, will be filled. You can set it to a
- value between 0.0 and 100.0, by using the slider or the
- associated text box and its arrows.
- </p>
- <div class="figure">
- <a id="id2686662"></a>
- <p class="title">
- <b>Figure 15.40. 
- <span lang="en" xml:lang="en">Example of miter limit</span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/dialogs/examples/miter.png" alt="Example of miter limit" />
- <div class="caption">
- <p>Left: Limit=0; Right: Limit=5;</p>
- </div>
- </div>
- </div>
- </div>
- <br class="figure-break" />
- </li>
- <li>
- <p>
- <span class="guilabel">Dash Pattern</span> :
- On the pixel level, a dashed line is drawn as a series of
- tiny boxes. You can modify the pattern of these boxes. The
- black area with thin vertical lines represents the pixels of
- the dash. If you click on a black pixel, you remove it from
- the dash. If you click on a white pixel, you add it to the
- dash. The gray areas indicate how the pattern will be
- repeated when a dashed line is drawn.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Dash Preset</span> :
- Instead of making your own dash pattern, you can choose
- one from the drop-down box. This pattern will
- then be displayed in the <span class="guilabel">Dash pattern</span>
- area, so you can get an idea of how it will look.
- </p>
- </li>
- <li>
- <p>
- <span class="guilabel">Anti-aliasing</span> :
- Curved strokes or strokes drawn at an angle may look jagged
- or stair-stepped. The anti-aliasing option smooths them
- out.
- </p>
- </li>
- </ul>
- </div>
- </dd>
- <dt>
- <span class="term">Stroking with a Paint Tool</span>
- </dt>
- <dd>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Paint Tool</span>
- </dt>
- <dd>
- <p>
- You can select a paint tool to use to draw the stroke from
- the drop-down box. If you do that, the currently-selected
- options of the paint tool are used, rather than the settings
- in the dialog.
- </p>
- </dd>
- </dl>
- </div>
- </dd>
- </dl>
- </div>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="gimp-selection-stroke.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-imagewindow-menus-edit.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="gimp-imagewindow-menus-select.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-selection-stroke.html">6.17. 
- <span lang="en" xml:lang="en">Stroke Selection</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="gimp-imagewindow-menus-select.html">7. 
- <span lang="en" xml:lang="en">The “<span class="quote">Select</span>” Menu</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-